package com.qijian.business.domain.query;

import java.math.BigDecimal;

import com.qijian.common.utils.mybatis.WhereType;
import com.qijian.common.utils.mybatis.WhereTypeEnum;
import lombok.Data;

import java.util.Date;
import java.util.Set;
import lombok.ToString;
import com.baomidou.mybatisplus.annotation.TableName;


/**
 * 报工工资对象 查询条件类
 *
 * @author qijian
 * @date 2025-03-29
 */

@Data
@ToString
@TableName("production_detail_salary")
public class ProductionDetailSalaryQuery {

    @WhereType(filed = "id")
    private String id;
    @WhereType(filed = "id", type = WhereTypeEnum.IN)
    private Set<Long> ids;
    @WhereType(filed = "production_detail_id")
    private Long productionDetailId;
    @WhereType(filed = "user_id")
    private Long userId;
    @WhereType(filed = "user_name")
    private String userName;
    @WhereType(filed = "user_salary")
    private BigDecimal userSalary;
    @WhereType(filed = "cur_work_cost")
    private BigDecimal curWorkCost;
    @WhereType(filed = "finish_qty")
    private BigDecimal finishQty;
    @WhereType(filed = "bad_number")
    private BigDecimal badNumber;
    @WhereType(filed = "team_leader_check")
    private Boolean teamLeaderCheck;
    @WhereType(filed = "fm_process_id")
    private Long fmProcessId;
    @WhereType(filed = "process_name")
    private String processName;
    @WhereType(filed = "sort")
    private Long sort;
    @WhereType(filed = "remark")
    private String remark;
    @WhereType(filed = "item_code",tableName = "sc_work_order")
    private String itemCode;
    @WhereType( filed = "create_time", func = "date_format({2},'%Y-%m-%d') = {1}")
    private String date;



}
